﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 来源单据信息 Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfSrcDocInfoData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfSrcDocInfoData()
		{
			initData();
		}
		private void initData()
		{
		
		
					SrcDocBusiType= 0; 
				
		
		
		
					SrcDocVer= 0; 
				
		
					SrcDocSubLineNo= 0; 
				
					SrcDocLineNo= 0; 
		
			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.SrcDoc != null) 
			{
				this.SrcDoc.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.SrcDocTransType != null) 
			{
				this.SrcDocTransType.DoSerializeKeyList(dict);
			}
	        	        	        	        	        			if (this.SrcDocLine != null) 
			{
				this.SrcDocLine.DoSerializeKeyList(dict);
			}
	        			if (this.SrcDocSubLine != null) 
			{
				this.SrcDocSubLine.DoSerializeKeyList(dict);
			}
	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfSrcDocInfoData(  ufida.u9.ait.openapi.CopyOfBizEntityKeyData srcDoc  , UFIDA.U9.Base.Organization.OrganizationData srcDocOrg  , System.Int32 srcDocBusiType  , ufida.u9.ait.openapi.CopyOfBizEntityKeyData srcDocTransType  , System.String srcDocTransTypeName  , System.String srcDocNo  , System.DateTime srcDocDate  , System.Int32 srcDocVer  , ufida.u9.ait.openapi.CopyOfBizEntityKeyData srcDocLine  , ufida.u9.ait.openapi.CopyOfBizEntityKeyData srcDocSubLine  , System.Int32 srcDocSubLineNo  , System.String srcDocSubLineNoStr  , System.Int32 srcDocLineNo  )
		{
			initData();
			this.SrcDoc = srcDoc;
			this.SrcDocOrg = srcDocOrg;
			this.SrcDocBusiType = srcDocBusiType;
			this.SrcDocTransType = srcDocTransType;
			this.SrcDocTransTypeName = srcDocTransTypeName;
			this.SrcDocNo = srcDocNo;
			this.SrcDocDate = srcDocDate;
			this.SrcDocVer = srcDocVer;
			this.SrcDocLine = srcDocLine;
			this.SrcDocSubLine = srcDocSubLine;
			this.SrcDocSubLineNo = srcDocSubLineNo;
			this.SrcDocSubLineNoStr = srcDocSubLineNoStr;
			this.SrcDocLineNo = srcDocLineNo;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 源单据
		/// 来源单据信息 Copy.Misc.源单据
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBizEntityKeyData m_srcDoc ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBizEntityKeyData SrcDoc
		{
			get	
			{	
				return m_srcDoc ;
			}
			set	
			{	
				m_srcDoc = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单组织
		/// 来源单据信息 Copy.Misc.源单组织
		/// </summary>
		private UFIDA.U9.Base.Organization.OrganizationData m_srcDocOrg ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.Base.Organization.OrganizationData SrcDocOrg
		{
			get	
			{	
				return m_srcDocOrg ;
			}
			set	
			{	
				m_srcDocOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单业务类型
		/// 来源单据信息 Copy.Misc.源单业务类型
		/// </summary>
		private System.Int32 m_srcDocBusiType ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocBusiType
		{
			get	
			{	
				return m_srcDocBusiType ;
			}
			set	
			{	
				m_srcDocBusiType = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据类型
		/// 来源单据信息 Copy.Misc.来源单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBizEntityKeyData m_srcDocTransType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBizEntityKeyData SrcDocTransType
		{
			get	
			{	
				return m_srcDocTransType ;
			}
			set	
			{	
				m_srcDocTransType = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据类型名称
		/// 来源单据信息 Copy.Misc.来源单据类型名称
		/// </summary>
		private System.String m_srcDocTransTypeName ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocTransTypeName
		{
			get	
			{	
				return m_srcDocTransTypeName ;
			}
			set	
			{	
				m_srcDocTransTypeName = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据号
		/// 来源单据信息 Copy.Misc.来源单据号
		/// </summary>
		private System.String m_srcDocNo ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocNo
		{
			get	
			{	
				return m_srcDocNo ;
			}
			set	
			{	
				m_srcDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单据日期
		/// 来源单据信息 Copy.Misc.源单据日期
		/// </summary>
		private System.DateTime m_srcDocDate ;
		[DataMember(IsRequired=false)]
		public System.DateTime SrcDocDate
		{
			get	
			{	
				return m_srcDocDate ;
			}
			set	
			{	
				m_srcDocDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单据版本
		/// 来源单据信息 Copy.Misc.源单据版本
		/// </summary>
		private System.Int32 m_srcDocVer ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocVer
		{
			get	
			{	
				return m_srcDocVer ;
			}
			set	
			{	
				m_srcDocVer = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单据行
		/// 来源单据信息 Copy.Misc.源单据行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBizEntityKeyData m_srcDocLine ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBizEntityKeyData SrcDocLine
		{
			get	
			{	
				return m_srcDocLine ;
			}
			set	
			{	
				m_srcDocLine = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单子行
		/// 来源单据信息 Copy.Misc.源单子行
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfBizEntityKeyData m_srcDocSubLine ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfBizEntityKeyData SrcDocSubLine
		{
			get	
			{	
				return m_srcDocSubLine ;
			}
			set	
			{	
				m_srcDocSubLine = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单子行号
		/// 来源单据信息 Copy.Misc.源单子行号
		/// </summary>
		private System.Int32 m_srcDocSubLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocSubLineNo
		{
			get	
			{	
				return m_srcDocSubLineNo ;
			}
			set	
			{	
				m_srcDocSubLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单子行号（字符串）
		/// 来源单据信息 Copy.Misc.源单子行号（字符串）
		/// </summary>
		private System.String m_srcDocSubLineNoStr ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocSubLineNoStr
		{
			get	
			{	
				return m_srcDocSubLineNoStr ;
			}
			set	
			{	
				m_srcDocSubLineNoStr = value ;	
			}
		}
			
		

		/// <summary>
		/// 源单据行号
		/// 来源单据信息 Copy.Misc.源单据行号
		/// </summary>
		private System.Int32 m_srcDocLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocLineNo
		{
			get	
			{	
				return m_srcDocLineNo ;
			}
			set	
			{	
				m_srcDocLineNo = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																										
		#endregion 
	} 	
}
